Optimal. Leaf size=15 \[ a x+\frac {b \sin (c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {2717}
\begin {gather*} a x+\frac {b \sin (c+d x)}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2717
Rubi steps
\begin {align*} \int (a+b \cos (c+d x)) \, dx &=a x+b \int \cos (c+d x) \, dx\\ &=a x+\frac {b \sin (c+d x)}{d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 26, normalized size = 1.73 \begin {gather*} a x+\frac {b \cos (d x) \sin (c)}{d}+\frac {b \cos (c) \sin (d x)}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 16, normalized size = 1.07
method | result | size |
default | \(a x +\frac {b \sin \left (d x +c \right )}{d}\) | \(16\) |
risch | \(a x +\frac {b \sin \left (d x +c \right )}{d}\) | \(16\) |
derivativedivides | \(\frac {a \left (d x +c \right )+b \sin \left (d x +c \right )}{d}\) | \(21\) |
norman | \(\frac {a x +a x \left (\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\frac {2 b \tan \left (\frac {d x}{2}+\frac {c}{2}\right )}{d}}{1+\tan ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )}\) | \(50\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 15, normalized size = 1.00 \begin {gather*} a x + \frac {b \sin \left (d x + c\right )}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 17, normalized size = 1.13 \begin {gather*} \frac {a d x + b \sin \left (d x + c\right )}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.04, size = 17, normalized size = 1.13 \begin {gather*} a x + b \left (\begin {cases} \frac {\sin {\left (c + d x \right )}}{d} & \text {for}\: d \neq 0 \\x \cos {\left (c \right )} & \text {otherwise} \end {cases}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 15, normalized size = 1.00 \begin {gather*} a x + \frac {b \sin \left (d x + c\right )}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.47, size = 17, normalized size = 1.13 \begin {gather*} \frac {b\,\sin \left (c+d\,x\right )+a\,d\,x}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________